package com.dinian.zeus.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: dinian
 * @Date: 2018/11/18
 */
@Slf4j
@Controller
public class IndexController {

    /**
     * 后台
     * @return
     */
    @RequestMapping("/background")
    public String background(){
        return "background";
    }

    /**
     * 前台
     * @return
     */
    @RequestMapping({"/","/index"})
    public String index(){
        return "index";
    }
}
